package com.meiyue.library.utils;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * MeiyueJavaProject
 * com.meiyue.library.utils
 * Created by Chris Chen
 * 2017/9/14
 * Explain:
 */
public class MsgUtils {
    private static Logger logger = LoggerFactory.getLogger(MsgUtils.class);

    public static void println(Object obj) {
        System.out.println(obj);
    }

    public static void print(Object obj) {
        System.out.print(obj);
    }

    public static void d(Object obj) {
        logger.debug(String.valueOf(obj));
    }

    public static void i(Object obj) {
        logger.info(String.valueOf(obj));
    }

    public static void w(Object obj) {
        logger.warn(String.valueOf(obj));
    }

    public static void e(Object obj) {
        logger.error(String.valueOf(obj));
    }

}
